package com.zl.rbac.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * 角色类
 * @ClassName: Role
 * @author: suke
 * @since: 2021/1/10 8:58
 */
@Data
@TableName("tb_role")
public class Role extends BaseEntity{
    private String name;
    private String sn;

    @TableField(exist=false)
    private List<Permission> permissionList = new ArrayList<>();


}
